@mixin levelCen() {
	display: flex;
	justify-content: center;
}
@mixin verCen() {
	display: flex;
	align-items: center;
}
@mixin spaceFlex() {
	display: flex;
	justify-content: space-between;
}
@mixin flexCen() {
	display: flex;
	justify-content: center;
	align-items: center;
}
@mixin size($width, $height, $background) {
	/*盒子大小*/
	width: $width;
	height: $height;
	background: $background;
}
@mixin radiusAll($top, $right, $bottom, $left) {
	/*所有圆角设置*/
	border-radius: $top $right $bottom $left;
}
@mixin radius($num) {
	border-radius: $num;
}
@mixin pos($type, $top, $right, $bottom, $left, $zIndex) {
	@if ($type == 1) {
		position: relative;
	} @else if($type == 2) {
		position: absolute;
	} @else {
		position: fixed;
	}
	top: $top;
	right: $right;
	bottom: $bottom;
	left: $left;
	z-index: $zIndex;
}
@mixin box() {
	box-sizing: border-box;
}
@mixin padl($left, $top) {
	@include box();
	padding-left: $left;
	padding-top: $top;
}
@mixin padr($right, $top) {
	@include box();
	padding-right: $right;
	padding-top: $top;
}
@mixin posCen($type) {
	@if ($type == 1) {
		position: relative;
	} @else if($type == 2) {
		position: absolute;
	} @else {
		position: fixed;
	}
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
}
@mixin phonelinearGradient($deg, $n, $background, $x) {
	background: linear-gradient($deg, transparent $n, $background $x);
}
@mixin phonelinearGradientTopLeft($deg, $n, $background, $x) {
	background: linear-gradient($deg, transparent $n, $background $x) top left;
}
@mixin clip($num...) {
	clip-path: polygon($num);
}
@mixin tele($num) {
	//伸缩
	// white-space:nowrap;
	// will-change: transform;
	// transition: .2s;
	// transform: scale($num);
}
@mixin teleOrigin($num...) {
	transform-origin: $num;
}